package com.fanco.learn_datastruct_leetcode.reflection;


public class Student {

    private Integer id;

    private String studentName;

    private int sex;

    private String stuNo;

    public String intro;

    public Student() {

    }

    private Student(String studentName, int sex, String stuNo) {
        this.studentName = studentName;
        this.sex = sex;
        this.stuNo = stuNo;
    }

    public Student(String studentName) {
        this.studentName = studentName;
    }

    public Student(String studentName, int sex) {
        this.studentName = studentName;
        this.sex = sex;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public String getStuNo() {
        return stuNo;
    }

    public void setStuNo(String stuNo) {
        this.stuNo = stuNo;
    }

    public String getIntro() {
        return intro;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }

    private void testStudent() {
        System.out.println("这是一个student的私有方法");
    }
}
